package com.tiantian.judge.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tiantian.judge.domain.entity.AiScoringDetails;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author TianTian
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JudgeDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 答题人的ID
     */
    private String userId;

    /**
     * 判题ID
     */
    private String replyId;

    /**
     * 题目ID
     */
    private String topicId;

    /**
     * 题目标题
     */
    private String title;

    /**
     * 题目难度
     */
    private String level;

    /**
     * 题目难度
     */
    private Integer order;

    /**
     * 题目标签
     */
    private List<String> tags;

    /**
     * 题目详细信息
     */
    private String detail;

    /**
     * 题目答案
     */
    private String answer;

    /**
     * 单题分数
     */
    private Integer score;

    /**
     * 单体总分
     */
    private Integer totalPoints;

    private AiScoringDetails aiScoringDetails;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
